package com.xjrsoft.module.customerTwo.ycode.t_ycode_product.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import com.xjrsoft.module.customerTwo.ycode.t_ycode_product.entity.TYcodeProduct;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;

/**
 * 视图实体类
 *
 * @author dongxinhang
 * @since 2024-07-22
 */
@Data
@ApiModel(value = "TYcodeProductVO对象", description = "TYcodeProductVO对象")
public class TYcodeProductVo {
	private static final long serialVersionUID = 1L;

	@JsonProperty("id")
	private String id;

	@JsonProperty("class_id")
	private String classId;


	@JsonProperty("class_complete_code")
	private String classCompleteCode;


	@JsonProperty("class_name")
	private String className;


	@JsonProperty("name")
	private String name;


	@JsonProperty("specifications")
	private String specifications;


	@JsonProperty("unit")
	private String unit;


	@JsonProperty("images")
	private String images;


	@JsonProperty("status")
	private String status;


	@JsonProperty("open_to_product_factory")
	private Integer openToProductFactory;


	@JsonProperty("open_to_accessories_factory")
	private Integer openToAccessoriesFactory;


	@JsonProperty("open_to_traders")
	private Integer openToTraders;
	/**
	 * 创建人
	 */
	@JsonProperty("user_id")
	private String userId;
	/**
	 * 企业名称
	 */
	@JsonProperty("firm_name")
	private String firmName;

	/**
	 * 产品云码 根据规则生成 提交时自动生成
	 */
	@JsonProperty("code")
	private String code;

}
